import { MeetingEntity } from '../meeting'
import { MtEntity } from '../mt'

export interface IList {
	list: MtEntity[]
}
export interface IGetMeetingInfo {
	conf_id: string
	meeting_moid: string
	password: string
	name: string
	media_h264: 0 | 1
	silence: 0 | 1
	encrypted_type: 0 | 2 | 3 | 4
	chairman_mt_vmp_state: 0 | 1
	safe_conf: 0 | 1
	vmp_state: 0 | 1
	conf_type: 0 | 1
	security_level: 0 | 1 | 2 | 3 | 4
	closed_conf: 0 | 1
	duration: number
	conf_protocol: 0 | 1 | 2
	conf_category: 0 | 1
	mute: 0 | 1
	force_mute: 0 | 1
	enable_audience: 0 | 1
	cascade_upload: 0 | 1
	watermark: 0 | 1
	voice_activity_detection: 0 | 1
	quantum_encryption: 0 | 1
	force_brd: 0 | 1
	cascade_meeting: 0 | 1
	enable_rtc: 0 | 1
	anonymous_mt: 0 | 1
	dual_mode: 0 | 1 | 2
	vacinterval: number
	preoccupy_resource: 0 | 1 | 2
	smart_cascade_mode: 0 | 1
	encrypted_auth: 0 | 1
	chairman_selectview: 0 | 1
	max_join_mt: number
	end_time: string
	start_time: string
	speaker: MtEntity
	chairman: MtEntity
	creator: {
		account: string
		account_type: 1 | 4 | 5 | 6 | 7 | 8
		name: string
		e164: string
		mobile: string
		telephone: string
	}
	vip: MtEntity[]
	cascades: (MeetingEntity & { mts: MtEntity[] })[]
	video_formats: {
		bitrate: number
		resolution: 1 | 2 | 3 | 12 | 13 | 14 | 15 | 16
		format: 1 | 2 | 3 | 4 | 5 | 6 | 7
		frame: number
	}[]
}
